package com.qy127.util;

import java.util.List;

/**
 * @ClassName Result
 * @Description ToDo
 * @Auther teacher Bai
 * @Date 2020/11/20 13:00
 */
public class Result {

    private Integer code=0;
    private String msg="";
    private int count;
    private List<?> data;

    public Result(int count, List<?> data) {
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + data +
                '}';
    }

    //你好哈哈哈
}
